//
// Created by LiuDongPeng on 2024/1/26.
//

#ifndef FOC_ENCODERBASE_H
#define FOC_ENCODERBASE_H

#include <cstdint>
#include <tuple>
#include <functional>



class EncoderBase
{
public:

    /**
     * @brief
     * @param encoderRaw
     * @param angleRad
     * @return
     */
    virtual std::tuple<bool, uint32_t, float> update() = 0;
};


#endif //FOC_ENCODERBASE_H
